//
//  SLCommonsDateUtility.h
//  SecretRoom
//
//  Created by Sitdhibhong Laokok on 9/5/54 BE.
//  Copyright 2554 App Tree. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum {
    SLCommonsDateUtilityDateTimeFormatLongFormat = 0,
    SLCommonsDateUtilityDateTimeFormatShortFormat = 1,
    SLCommonsDateUtilityDateTimeFormatMediumFormat = 2
} SLCommonsDateUtilityDateTimeFormat;

@interface SLCommonsDateUtility : NSObject

+ (NSDate *)currentGMTDate;
+ (NSDate *)GMTDateToLocalDate:(NSDate *)gmtDate;
+ (NSDate *)localDateToGMTDate:(NSDate *)localDate;

+ (NSDateFormatter *)localDefaultDateTimeFormat:(SLCommonsDateUtilityDateTimeFormat)dateFormatter;
@end
